package cn.hxlc.tie.demo.modular.material.model.result;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;


@Data
@ApiModel
public class MaPackResult implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("")
    private Long fid;

    @ApiModelProperty("编码")
    private String fnumber;

    @ApiModelProperty("名称")
    private String fname;

    @ApiModelProperty("产品ID")
    private Long fmaterialid;

    @ApiModelProperty("产品编码")
    private String fmaterialnumber;

    @ApiModelProperty("产品名称")
    private String fmaterialname;

    @ApiModelProperty("产品规格")
    private String fmaterialmodel;

    @ApiModelProperty("数量")
    private BigDecimal fqty;

    @ApiModelProperty("状态 0启用 1禁用 2删除")
    private Integer fstatus;

    @ApiModelProperty("包装描述")
    private String fdescription;

    @ApiModelProperty("创建人")
    private Long fcreatorid;

    @ApiModelProperty("创建时间")
    private Date fcreatetime;

    @ApiModelProperty("产品分录")
    private List<MaPackEntryResult> entrys ;

}
